projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a64286
)
Fix error when describing menu items that don't have equivalent keys
author
Po Lu
<luangruo@yahoo.com>
Thu, 20 Jan 2022 12:18:29 +0000
(20:18 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Thu, 20 Jan 2022 12:18:29 +0000
(20:18 +0800)
* lisp/help-fns.el (help-fns--key-bindings): Never pass nil to
insert.
lisp/help-fns.el
patch
|
blob
|
history
diff --git
a/lisp/help-fns.el
b/lisp/help-fns.el
index 7858d88985f071929477d99fae4b49b03962009a..98a1b11e088d515611c93835736b629210460d0b 100644
(file)
--- a/
lisp/help-fns.el
+++ b/
lisp/help-fns.el
@@
-547,9
+547,9
@@
suitable file is found, return nil."
(insert "\n"))
(when menus
(let ((start (point)))
- (insert "It can "
- (and keys "also ")
-
"be invoked from the menu: "
)
+ (insert
(concat
"It can "
+
(and keys "also ")
+
"be invoked from the menu: ")
)
;; FIXME: Should insert menu names instead of key
;; binding names.
(help-fns--insert-bindings menus)